home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 25 / CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso / CUCD / Utilities / SmartFilesystem / Include / nodes.h < prev   
Encoding:
C/C++ Source or Header  |  1998-06-14  |  791 b   |  23 lines

  1. #include "blockstructure.h"
  2.  
  3. /* Structures used by Node trees */
  4.  
  5. struct fsNode {
  6.   ULONG data;
  7. };
  8.  
  9. #define NODECONTAINER_ID         MAKE_ID('N','D','C',' ')
  10.  
  11. struct fsNodeContainer {
  12.   struct fsBlockHeader bheader;
  13.   BLCK  parent;            /* The blocknumber of its parent NodeIndexContainer */
  14.   NODE  nodenumber;        /* The Node number of the first Node in this block */
  15.   ULONG nodes;             /* The total number of Nodes per NodeIndexContainer
  16.                               or NodeIndexContainer from this point in the
  17.                               Node-tree */
  18.  
  19.   BLCKn node[0];           /* An array of NodeIndexContainers or NodeContainers
  20.                               depending on where this NodeIndexContainer is
  21.                               within the Node-tree. */
  22. };
  23.